<?php
namespace ProjetA\GroupeBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

/**
 * Description of PageType
 *
 * @author Gael
 */
class PageType extends AbstractType{
   

    //put your code here
    public function buildForm(FormBuilder $builder, array $options)
    {
        
        
        $builder
            ->add('name')
            ->add('attributs', 'collection', array('type'=>new AttributType, 'prototype'=>true, 'allow_add'=>true))
        ;
    }
    public function getName() {
        return 'projeta_groupebundle_pagetype';
    }
}

?>
